env = Environment()
env["PROGSUFFIX"] = ".out"  # 可执行后缀.out
env["CCFLAGS"] = " -ggdb3 -O0 -Wall"  # gdb 调试开关
source_list = [
    "1_fread_fwrite_文件复制_copy.c",
    "2_printf_打印2_8_10_16进制.c",
    "3_fread_fseek_持续读porc文件.c",
    "6.1_fseek_通过偏移_文件复制.c",
    # "7_ftell_获取当前文件位置.c",
    "7.1_ftell_获取文件大小.c",
    "13_fopen_fwrite_文件覆盖写入.c",
]

for file in source_list:
    env.Program(file)